package com.booktrade.service;

import com.booktrade.entity.Reviews;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评价表，存储用户对交易的评价信息 服务类
 * </p>
 */
public interface IReviewsService extends IService<Reviews> {

    /**
     * 添加评价
     * @param reviews
     * @param reviewerId 评价者id
     */
    void addReviews(Reviews reviews, Integer reviewerId);
}
